﻿using System;
using System.Collections.Generic;
using System.Text;

public class ValueOutOfRangeException : Exception
{
    public const string m_ValueOutOfRangeExceptionStr = "ValueOutOfRangeExceptionStr";
    private float? m_MaxValue = null;

    public float? MaxValue
    {
        get { return m_MaxValue; }
    }

    private float? m_MinValue = null;

    public float? MinValue
    {
        get { return m_MinValue; }
    }

    public ValueOutOfRangeException(string i_Message, float i_MinValue, float i_MaxValue) : base(i_Message)
    {
        m_MaxValue = i_MaxValue;
        m_MinValue = i_MinValue;
    }

    public ValueOutOfRangeException(string message, Exception inner)
        : base(message, inner)
    {
    }
}
